package com.kelp.codetoolkit.enums

/**
 * @author: liuyuebai
 * @date: 2024/8/5 09:00
 * @description:
 */
enum class FrameActivationClassEnum(val frame:String, val findClass:String) {
    UNKNOWN("UNKNOWN",""),
    SPRING("spring","@org.springframework.boot.autoconfigure.SpringBootApplication"),
    ;

    companion object {

        fun fromBy(frame:String): FrameActivationClassEnum {
            val values = values()
            for(value in values) {
                if(value.frame==frame) {
                    return value
                }
            }
            return UNKNOWN
        }
    }


}